﻿package ${entity.packageName};

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/** 
 * ${entity.comment}
 *
 * @author ${entity.author}
 *
 * @since ${entity.time}
 */
@Data
@TableName("${table.name}")
public class ${entity.name}{

 	<#list entity.attrs as attr>
        <#if attr.comment?exists>
    // ${attr.comment}
        </#if>
        <#if attr.name == 'id'>
    @TableId
        </#if>
    private ${attr.type} ${attr.name};
    </#list>

}